<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FreeRTOS Addons: src/freertos-addon/c++/include/thread.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">FreeRTOS Addons
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_613ab928e2cac05f46a549f1010a006c.html">freertos-addon</a></li><li class="navelem"><a class="el" href="dir_1561b40f2a44bc3fb1e89a4f48d1054f.html">c++</a></li><li class="navelem"><a class="el" href="dir_651d9e330e31228dbb237d3e8c532be3.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">thread.hpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/****************************************************************************</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment"> *</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> *  Copyright (c) 2017, Michael Becker (michael.f.becker@gmail.com)</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> *</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> *  This file is part of the FreeRTOS Add-ons project.</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment"> *</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment"> *  Source Code:</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment"> *  https://github.com/michaelbecker/freertos-addons</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment"> *</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment"> *  Project Page:</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment"> *  http://michaelbecker.github.io/freertos-addons/</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment"> *</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment"> *  On-line Documentation:</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment"> *  http://michaelbecker.github.io/freertos-addons/docs/html/index.html</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment"> *</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment"> *  Permission is hereby granted, free of charge, to any person obtaining a</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment"> *  copy of this software and associated documentation files</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment"> *  (the &quot;Software&quot;), to deal in the Software without restriction, including</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment"> *  without limitation the rights to use, copy, modify, merge, publish,</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment"> *  distribute, sublicense, and/or sell copies of the Software, and to</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="comment"> *  permit persons to whom the Software is furnished to do so,subject to the</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="comment"> *  following conditions:</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="comment"> *</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="comment"> *  + The above copyright notice and this permission notice shall be included</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="comment"> *    in all copies or substantial portions of the Software.</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="comment"> *  + Credit is appreciated, but not required, if you find this project</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="comment"> *    useful enough to include in your application, product, device, etc.</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="comment"> *</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="comment"> *  THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="comment"> *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="comment"> *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="comment"> *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="comment"> *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="comment"> *  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="comment"> *  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="comment"> *</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="comment"> ***************************************************************************/</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="preprocessor">#include &quot;freertos-config.h&quot;</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="preprocessor">#ifndef THREAD_HPP_</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="preprocessor">#define THREAD_HPP_</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="preprocessor">#ifndef CPP_FREERTOS_NO_CPP_STRINGS</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span><span class="preprocessor">#include &quot;FreeRTOS.h&quot;</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span><span class="preprocessor">#include &quot;task.h&quot;</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="preprocessor">#include &quot;mutex.hpp&quot;</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span><span class="preprocessor">#include &quot;semaphore.hpp&quot;</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span><span class="preprocessor">#include &quot;condition_variable.hpp&quot;</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacecpp__freertos.html">cpp_freertos</a> {</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html">   79</a></span><span class="keyword">class </span><a class="code hl_class" href="classcpp__freertos_1_1_thread.html">Thread</a> {</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>    <span class="comment">//</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>    <span class="comment">//  Public API</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    <span class="comment">//  Available from anywhere. Many of these require a Thread reference</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>    <span class="comment">//  if they are operating on a thread.</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>    <span class="comment">//</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span><span class="comment"></span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span><span class="preprocessor">#ifndef CPP_FREERTOS_NO_CPP_STRINGS</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>        <a class="code hl_class" href="classcpp__freertos_1_1_thread.html">Thread</a>( <span class="keyword">const</span> std::string Name,</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>                uint16_t StackDepth,</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>                UBaseType_t Priority);</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>        <a class="code hl_class" href="classcpp__freertos_1_1_thread.html">Thread</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *Name,</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>                uint16_t StackDepth,</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>                UBaseType_t Priority);</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>        <a class="code hl_class" href="classcpp__freertos_1_1_thread.html">Thread</a>( uint16_t StackDepth,</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>                UBaseType_t Priority);</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a279c2b78aa2bf43371f2462623588830">Start</a>();</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a37d9edd3a1a776cbc27dedff949c9726">~Thread</a>();</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a1053a1c4f291a9a9a5dbf4ead7e96ae7">  145</a></span>        <span class="keyword">inline</span> TaskHandle_t <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a1053a1c4f291a9a9a5dbf4ead7e96ae7">GetHandle</a>()</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>        {</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>            <span class="keywordflow">return</span> handle;</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>        }</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span> </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#abe20a08801d022da203e0295dbb59cbb">  153</a></span>        <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#abe20a08801d022da203e0295dbb59cbb">Yield</a>()</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>        {</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>            taskYIELD();</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span>        }</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span> </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a6c5e2fea2e1badb606730c279559aa36">  164</a></span>        <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a6c5e2fea2e1badb606730c279559aa36">StartScheduler</a>()</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>        {</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>            SchedulerActive = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span>            vTaskStartScheduler();</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span>        }</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span> </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#ae594e304335470c5dec7933643e66418">  179</a></span>        <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#ae594e304335470c5dec7933643e66418">EndScheduler</a>()</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>        {</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span>            vTaskEndScheduler();</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span>            SchedulerActive = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span>        }</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span> </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span><span class="preprocessor">#if (INCLUDE_vTaskSuspend == 1)</span></div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a9eca55dec69e4758cf397e882338c7e6">  192</a></span>        <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a9eca55dec69e4758cf397e882338c7e6">Suspend</a>()</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span>        {</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span>            vTaskSuspend(<a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a1053a1c4f291a9a9a5dbf4ead7e96ae7">GetHandle</a>());</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span>        }</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a0a413b18b2818072998320f1f6388eee">  200</a></span>        <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a0a413b18b2818072998320f1f6388eee">Resume</a>()</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span>        {</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span>            vTaskResume(<a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a1053a1c4f291a9a9a5dbf4ead7e96ae7">GetHandle</a>());</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>        }</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span><span class="preprocessor">#if (INCLUDE_xTaskResumeFromISR == 1)</span></div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#aa11e945ef24eb35b4df261050576a2c0">  210</a></span>        <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#aa11e945ef24eb35b4df261050576a2c0">ResumeFromISR</a>()</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span>        {</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span>            xTaskResumeFromISR(<a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a1053a1c4f291a9a9a5dbf4ead7e96ae7">GetHandle</a>());</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span>        }</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span><span class="preprocessor">#if (INCLUDE_uxTaskPriorityGet == 1)</span></div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#ace92214a082dd8fd49e48af680e9bee5">  222</a></span>        <span class="keyword">inline</span> UBaseType_t <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#ace92214a082dd8fd49e48af680e9bee5">GetPriority</a>()</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span>        {</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span>            <span class="keywordflow">return</span> (uxTaskPriorityGet(<a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a1053a1c4f291a9a9a5dbf4ead7e96ae7">GetHandle</a>()));</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span>        }</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span> </div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a00923e979ba8b757d293c7f33701df29">  232</a></span>        <span class="keyword">inline</span> UBaseType_t <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a00923e979ba8b757d293c7f33701df29">GetPriorityFromISR</a>()</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span>        {</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>            <span class="keywordflow">return</span> (uxTaskPriorityGetFromISR(<a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a1053a1c4f291a9a9a5dbf4ead7e96ae7">GetHandle</a>()));</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span>        }</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span> </div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span><span class="preprocessor">#if (INCLUDE_vTaskPrioritySet == 1)</span></div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a5e40076f0050bdcfcf949506f139879e">  245</a></span>        <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a5e40076f0050bdcfcf949506f139879e">SetPriority</a>(UBaseType_t NewPriority)</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span>        {</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span>            Priority = NewPriority;</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span>            vTaskPrioritySet(<a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a1053a1c4f291a9a9a5dbf4ead7e96ae7">GetHandle</a>(), NewPriority);</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno">  249</span>        }</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno">  250</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span> </div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span><span class="preprocessor">#ifndef CPP_FREERTOS_NO_CPP_STRINGS</span></div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a51469110641ad7ba19a32364dd18c213">  258</a></span>        <span class="keyword">inline</span> std::string <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a51469110641ad7ba19a32364dd18c213">GetName</a>()</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span>        {</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span>            <span class="keywordflow">return</span> Name;</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span>        }</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>        <span class="keyword">inline</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a51469110641ad7ba19a32364dd18c213">GetName</a>()</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span>        {</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span>            <span class="keywordflow">return</span> pcTaskGetName(handle);</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span>        }</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span> </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span>    <span class="comment">//</span></div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span>    <span class="comment">//  Protected API</span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span>    <span class="comment">//  Available from inside your Thread implementation.</span></div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span>    <span class="comment">//  You should make sure that you are only calling these methods</span></div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span>    <span class="comment">//  from within your Run() method, or that your Run() method is on the</span></div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno">  275</span>    <span class="comment">//  callstack.</span></div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span>    <span class="comment">//</span></div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span><span class="comment"></span>    <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a93df31e4bee72f150dd742ab5d6d35c3">  288</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a93df31e4bee72f150dd742ab5d6d35c3">Run</a>() = 0;</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno">  289</span> </div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno">  290</span><span class="preprocessor">#if (INCLUDE_vTaskDelete == 1)</span></div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a997f36c77c28021873241b0df1c21a6b">Cleanup</a>();</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno">  308</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno">  309</span> </div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span><span class="preprocessor">#if (INCLUDE_vTaskDelay == 1)</span></div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a654a6f8af37d09ede473728dd76acffe">  316</a></span>        <span class="keywordtype">void</span> <span class="keyword">inline</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a654a6f8af37d09ede473728dd76acffe">Delay</a>(<span class="keyword">const</span> TickType_t <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a654a6f8af37d09ede473728dd76acffe">Delay</a>)</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno">  317</span>        {</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span>            vTaskDelay(<a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a654a6f8af37d09ede473728dd76acffe">Delay</a>);</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span>        }</div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span> </div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno">  322</span><span class="preprocessor">#if (INCLUDE_vTaskDelayUntil == 1)</span></div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno">  332</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a9fb9580f5d710d6c9b1c4e8a8d23985c">DelayUntil</a>(<span class="keyword">const</span> TickType_t Period);</div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno">  333</span> </div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno">  338</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a71f796ec7c2bd53bb0f28b648967f601">ResetDelayUntil</a>();</div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno">  339</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno">  340</span> </div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span> </div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno">  342</span><span class="preprocessor">#ifdef CPP_FREERTOS_CONDITION_VARIABLES</span></div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span> </div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classcpp__freertos_1_1_thread.html#a91a73909fb17ee160f992a78cfd2b119">Wait</a>(  <a class="code hl_class" href="classcpp__freertos_1_1_condition_variable.html">ConditionVariable</a> &amp;Cv,</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span>                    <a class="code hl_class" href="classcpp__freertos_1_1_mutex.html">Mutex</a> &amp;CvLock,</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno">  360</span>                    TickType_t Timeout = portMAX_DELAY);</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno">  361</span> </div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno">  362</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno">  363</span> </div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno">  364</span> </div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span>    <span class="comment">//</span></div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span>    <span class="comment">//  Private API</span></div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno">  368</span>    <span class="comment">//  The internals of this wrapper class.</span></div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span>    <span class="comment">//</span></div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span><span class="comment"></span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span>        TaskHandle_t handle;</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span> </div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno">  381</span>        <span class="keyword">static</span> <span class="keyword">volatile</span> <span class="keywordtype">bool</span> SchedulerActive;</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span> </div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno">  386</span><span class="preprocessor">#ifndef CPP_FREERTOS_NO_CPP_STRINGS</span></div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno">  387</span>        <span class="keyword">const</span> std::string Name;</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno">  388</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno">  389</span>        <span class="keywordtype">char</span> Name[configMAX_TASK_NAME_LEN];</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno">  390</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno">  391</span> </div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno">  395</span>        <span class="keyword">const</span> uint16_t StackDepth;</div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno">  396</span> </div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno">  400</span>        UBaseType_t Priority;</div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno">  401</span> </div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span>        <span class="keywordtype">bool</span> ThreadStarted;</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span>        </div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span>        <span class="keyword">static</span> <a class="code hl_class" href="classcpp__freertos_1_1_mutex_standard.html">MutexStandard</a> StartGuardLock;</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span> </div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span>        <span class="keyword">static</span> <span class="keywordtype">void</span> TaskFunctionAdapter(<span class="keywordtype">void</span> *pvParameters);</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span> </div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span><span class="preprocessor">#if (INCLUDE_vTaskDelayUntil == 1)</span></div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno">  424</span>        <span class="keywordtype">bool</span> delayUntilInitialized;</div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno">  425</span> </div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno">  429</span>        TickType_t delayUntilPreviousWakeTime;</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno">  430</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span> </div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno">  432</span><span class="preprocessor">#ifdef CPP_FREERTOS_CONDITION_VARIABLES</span></div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno">  433</span> </div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno">  439</span>        <a class="code hl_class" href="classcpp__freertos_1_1_binary_semaphore.html">BinarySemaphore</a> ThreadWaitSem;</div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno">  440</span> </div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno">  444</span>        <span class="keyword">inline</span> <span class="keywordtype">void</span> Signal()</div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno">  445</span>        {</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span>            ThreadWaitSem.<a class="code hl_function" href="classcpp__freertos_1_1_semaphore.html#ae2328f019955e0f2e94d72b26d71bf76">Give</a>();</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno">  447</span>        }</div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno">  448</span> </div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"><a class="line" href="classcpp__freertos_1_1_thread.html#a3e19dc65386fe18c8ddded78717fac0b">  455</a></span>    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classcpp__freertos_1_1_condition_variable.html">ConditionVariable</a>;</div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span> </div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno">  457</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno">  458</span> </div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno">  459</span>};</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno">  460</span> </div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno">  461</span> </div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno">  462</span>}</div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno">  463</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno">  464</span> </div>
<div class="ttc" id="aclasscpp__freertos_1_1_binary_semaphore_html"><div class="ttname"><a href="classcpp__freertos_1_1_binary_semaphore.html">cpp_freertos::BinarySemaphore</a></div><div class="ttdef"><b>Definition:</b> semaphore.hpp:196</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_condition_variable_html"><div class="ttname"><a href="classcpp__freertos_1_1_condition_variable.html">cpp_freertos::ConditionVariable</a></div><div class="ttdef"><b>Definition:</b> condition_variable.hpp:76</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_mutex_html"><div class="ttname"><a href="classcpp__freertos_1_1_mutex.html">cpp_freertos::Mutex</a></div><div class="ttdef"><b>Definition:</b> mutex.hpp:109</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_mutex_standard_html"><div class="ttname"><a href="classcpp__freertos_1_1_mutex_standard.html">cpp_freertos::MutexStandard</a></div><div class="ttdef"><b>Definition:</b> mutex.hpp:171</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_semaphore_html_ae2328f019955e0f2e94d72b26d71bf76"><div class="ttname"><a href="classcpp__freertos_1_1_semaphore.html#ae2328f019955e0f2e94d72b26d71bf76">cpp_freertos::Semaphore::Give</a></div><div class="ttdeci">bool Give()</div><div class="ttdef"><b>Definition:</b> csemaphore.cpp:66</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html">cpp_freertos::Thread</a></div><div class="ttdef"><b>Definition:</b> thread.hpp:79</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a00923e979ba8b757d293c7f33701df29"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a00923e979ba8b757d293c7f33701df29">cpp_freertos::Thread::GetPriorityFromISR</a></div><div class="ttdeci">UBaseType_t GetPriorityFromISR()</div><div class="ttdef"><b>Definition:</b> thread.hpp:232</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a0a413b18b2818072998320f1f6388eee"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a0a413b18b2818072998320f1f6388eee">cpp_freertos::Thread::Resume</a></div><div class="ttdeci">void Resume()</div><div class="ttdef"><b>Definition:</b> thread.hpp:200</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a1053a1c4f291a9a9a5dbf4ead7e96ae7"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a1053a1c4f291a9a9a5dbf4ead7e96ae7">cpp_freertos::Thread::GetHandle</a></div><div class="ttdeci">TaskHandle_t GetHandle()</div><div class="ttdef"><b>Definition:</b> thread.hpp:145</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a279c2b78aa2bf43371f2462623588830"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a279c2b78aa2bf43371f2462623588830">cpp_freertos::Thread::Start</a></div><div class="ttdeci">bool Start()</div><div class="ttdef"><b>Definition:</b> cthread.cpp:123</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a37d9edd3a1a776cbc27dedff949c9726"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a37d9edd3a1a776cbc27dedff949c9726">cpp_freertos::Thread::~Thread</a></div><div class="ttdeci">virtual ~Thread()</div><div class="ttdef"><b>Definition:</b> cthread.cpp:184</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a51469110641ad7ba19a32364dd18c213"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a51469110641ad7ba19a32364dd18c213">cpp_freertos::Thread::GetName</a></div><div class="ttdeci">std::string GetName()</div><div class="ttdef"><b>Definition:</b> thread.hpp:258</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a5e40076f0050bdcfcf949506f139879e"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a5e40076f0050bdcfcf949506f139879e">cpp_freertos::Thread::SetPriority</a></div><div class="ttdeci">void SetPriority(UBaseType_t NewPriority)</div><div class="ttdef"><b>Definition:</b> thread.hpp:245</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a654a6f8af37d09ede473728dd76acffe"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a654a6f8af37d09ede473728dd76acffe">cpp_freertos::Thread::Delay</a></div><div class="ttdeci">void Delay(const TickType_t Delay)</div><div class="ttdef"><b>Definition:</b> thread.hpp:316</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a6c5e2fea2e1badb606730c279559aa36"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a6c5e2fea2e1badb606730c279559aa36">cpp_freertos::Thread::StartScheduler</a></div><div class="ttdeci">static void StartScheduler()</div><div class="ttdef"><b>Definition:</b> thread.hpp:164</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a71f796ec7c2bd53bb0f28b648967f601"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a71f796ec7c2bd53bb0f28b648967f601">cpp_freertos::Thread::ResetDelayUntil</a></div><div class="ttdeci">void ResetDelayUntil()</div><div class="ttdef"><b>Definition:</b> cthread.cpp:233</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a91a73909fb17ee160f992a78cfd2b119"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a91a73909fb17ee160f992a78cfd2b119">cpp_freertos::Thread::Wait</a></div><div class="ttdeci">bool Wait(ConditionVariable &amp;Cv, Mutex &amp;CvLock, TickType_t Timeout=portMAX_DELAY)</div><div class="ttdef"><b>Definition:</b> cthread.cpp:244</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a93df31e4bee72f150dd742ab5d6d35c3"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a93df31e4bee72f150dd742ab5d6d35c3">cpp_freertos::Thread::Run</a></div><div class="ttdeci">virtual void Run()=0</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a997f36c77c28021873241b0df1c21a6b"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a997f36c77c28021873241b0df1c21a6b">cpp_freertos::Thread::Cleanup</a></div><div class="ttdeci">virtual void Cleanup()</div><div class="ttdef"><b>Definition:</b> cthread.cpp:179</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a9eca55dec69e4758cf397e882338c7e6"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a9eca55dec69e4758cf397e882338c7e6">cpp_freertos::Thread::Suspend</a></div><div class="ttdeci">void Suspend()</div><div class="ttdef"><b>Definition:</b> thread.hpp:192</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_a9fb9580f5d710d6c9b1c4e8a8d23985c"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#a9fb9580f5d710d6c9b1c4e8a8d23985c">cpp_freertos::Thread::DelayUntil</a></div><div class="ttdeci">void DelayUntil(const TickType_t Period)</div><div class="ttdef"><b>Definition:</b> cthread.cpp:222</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_aa11e945ef24eb35b4df261050576a2c0"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#aa11e945ef24eb35b4df261050576a2c0">cpp_freertos::Thread::ResumeFromISR</a></div><div class="ttdeci">void ResumeFromISR()</div><div class="ttdef"><b>Definition:</b> thread.hpp:210</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_abe20a08801d022da203e0295dbb59cbb"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#abe20a08801d022da203e0295dbb59cbb">cpp_freertos::Thread::Yield</a></div><div class="ttdeci">static void Yield()</div><div class="ttdef"><b>Definition:</b> thread.hpp:153</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_ace92214a082dd8fd49e48af680e9bee5"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#ace92214a082dd8fd49e48af680e9bee5">cpp_freertos::Thread::GetPriority</a></div><div class="ttdeci">UBaseType_t GetPriority()</div><div class="ttdef"><b>Definition:</b> thread.hpp:222</div></div>
<div class="ttc" id="aclasscpp__freertos_1_1_thread_html_ae594e304335470c5dec7933643e66418"><div class="ttname"><a href="classcpp__freertos_1_1_thread.html#ae594e304335470c5dec7933643e66418">cpp_freertos::Thread::EndScheduler</a></div><div class="ttdeci">static void EndScheduler()</div><div class="ttdef"><b>Definition:</b> thread.hpp:179</div></div>
<div class="ttc" id="anamespacecpp__freertos_html"><div class="ttname"><a href="namespacecpp__freertos.html">cpp_freertos</a></div><div class="ttdef"><b>Definition:</b> condition_variable.hpp:57</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
